package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.domain.business.BusDO;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusDTO;
import com.qk.dto.business.BusinessDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    BusinessCountDO selectCountBusiness();

    List<BusinessDO> selectByPage(BusinessDTO dto);

    List<BusDO> selectPoolByPage(BusDTO bDTO);
}